package com.resign.carl.command.example1.api;

/**
 * Created by carl.zhao on 2016/6/15.
 */
public class SimpleRemoteControl {

    private Command slot;

    public void setSlot(Command slot) {
        this.slot = slot;
    }

    public void buttonWasPressed(){
        slot.execute();
    }
}
